lib/repo: Add mode and tombstone config options to the summary file
authorPhilip Withnall <withnall@endlessm.com>
Mon, 10 Aug 2020 11:05:06 +0000 (12:05 +0100)
committerPhilip Withnall <pwithnall@endlessos.org>
Thu, 1 Oct 2020 10:06:56 +0000 (11:06 +0100)
commit206f1d3a13189e55027ffadd0b8b434768c3ec0f
treead4ee8a0c12f729340771feeefcf254bde664a5f
parenta5f9651dabb2abab27acd8aa311c351b839a892f
lib/repo: Add mode and tombstone config options to the summary file

Currently, they are set in the `config` file and cause that to be
downloaded on every pull. Given that the client is already pulling the
`summary` file, it makes sense to avoid an additional network round trip
and cache those options in the `summary` file.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Helps: #2165
src/libostree/ostree-repo-private.h
src/libostree/ostree-repo.c
src/ostree/ot-dump.c
tests/test-summary-view.sh